package com.demo.seckill.queue.activemq;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsMessagingTemplate;
import org.springframework.stereotype.Component;

import javax.jms.Destination;

/**
 * @author libo
 * @ClassName ActiveMqSender
 * @Description: TODO（这里用一句话描述这个类的作用)
 * @date 2018/11/29 17:50
 */
@Component
public class ActiveMqSender {

    //@Autowired
    //private JmsMessagingTemplate jmsMessagingTemplate;

    public  void sendChannelMessage(Destination destination, final  String message){
        //jmsMessagingTemplate.convertAndSend(destination,message);
    }
}
